<table>
  <tr>
    <th>ID</th>
    <th>Name</th>
    <th>Admin?</th>
    <th>Details</th>
    <th>Delete</th>
  </tr>
  <% @users.each do |user| %>
    <tr>
      <td><%=user.id%></td>
      <td><%=user.name%></td>
      <td><%="&dagger;" if user.superadmin?%>
        <%="&Dagger;" if user.laivs.count > 0%></td>
      <td><%=link_to 'Details', :action => 'show_user', :id => user%></td>
      <td><%=link_to 'Delete',  {:action => 'delete_user', :id => user}, 
        :method => :delete, :confirm => "Really delete?"%></td>
    </tr>
  <% end %>
</table>

<p>&dagger;: The user is a super-admin.<br/>
&Dagger;: The user is the administrator of a laiv.</p> 
